# Echo client program
import socket


ip_port = ('127.0.0.1',9998)
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
    s.connect(ip_port)
    s.sendall(b'Hello, world')
    data = s.recv(1024)
print('Received', repr(data))


